package com.puge.eduservice.service;

import com.puge.eduservice.entity.EduCourse;
import com.baomidou.mybatisplus.extension.service.IService;
import com.puge.eduservice.entity.vo.CourseInfoVo;
import com.puge.eduservice.entity.vo.CoursePublicVo;

/**
 * <p>
 * 课程 服务类
 * </p>
 *
 * @author testjava
 * @since 2021-06-14
 */
public interface EduCourseService extends IService<EduCourse> {

    //    添加课程的基本信息的方法
    String saveCourseInfo(CourseInfoVo courseInfoVo);

    CourseInfoVo getCourseInfo(String courseId);

    void updateCourseInfo(CourseInfoVo courseInfoVo);

    CoursePublicVo publishCourseInfo(String id);
//删除课程
    void removeCourse(String courseId);
}
